package cn.edu.lzu.dao;

import cn.edu.lzu.entity.ExamineItemUnits;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @PackageName: cn.edu.lzu.dao
 * @InterfaceName: ExamineItemUnitsMapper
 * @Description: TODO
 * @Author: 张琦[QQ:3098086691]
 * @Date: 2020/1/12 16:34
 * @Version: 1.0
 */
@Mapper
public interface ExamineItemUnitsMapper {

    //根据单位代码unitId获取本单位所有未删除的项目计量单位
    @Select("select * from examine_item_units where unit_id=#{unitId} and is_deleted=0")
    public List<ExamineItemUnits> selAllUnitsByUnitId(long unitId);
}
